import request from '@/utils/request'
import { praseStrEmpty } from "@/utils/ruoyi";

//获取首页列表
export function listHome(data) {
    return request({
      url: '/ganxin/home/getHomeList',
      method: 'get',
      params: data
    })
  }

//获取首页的品牌列表 /ganxin/home/getHomeBrand?goodsName=
export function listBrand(query) {
    return request({
      url: '/ganxin/home/getHomeBrand?goodsName='+query,
      method: 'get'
    })
  }

//获取首页分类列表 /ganxin/home/getHomeClassify?goodsName=
export function listClassify(query) {
    return request({
      url: '/ganxin/home/getHomeClassify?goodsName='+query,
      method: 'get'
    })
  }

//
